﻿using FAP.DataAccess.BLL;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace FAP.GUI
{
    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
            //ucLoadDanhSach1.onSelectedWebSite += ucLoadDanhSach1_onSelectedWebSite;
            //ucDanhMuc1.onSelectedDanhMuc += ucDanhMuc1_onSelectedDanhMuc;
            //ucListThread1.onSelectedWebSite += ucListThread1_onSelectedWebSite;
        }

        void ucListThread1_onSelectedWebSite(List<baiviet> sender)
        {
            MessageBox.Show(sender.Count.ToString());
        }

        void ucDanhMuc1_onSelectedDanhMuc(List<danhmuc> sender)
        {
            MessageBox.Show(sender.Count.ToString());
        }

        void ucLoadDanhSach1_onSelectedWebSite(List<website> sender)
        {
            MessageBox.Show(sender.Count.ToString());
        }

        private void Form2_FormClosing(object sender, FormClosingEventArgs e)
        {
           // this.ucTaskManager1.tCPU.Abort();
        }
    }
}
